/**博客属性说明
 * title 标题
 * imgUrl 展示博客的图片 可为空
 * content 内容
 * abstract 摘要
 * like 点赞数
 * browse 浏览数
 * comment 评论
 * author 作者名
 * selfPublish 是否是自己发布
 */
//博客详情页
export interface BlogDetail {
  title: string
  img: string
  content: string
  abstract: string
  like: number
  browse: number
  comments: Comment[]
  author: string
  authorId: number
  selfPublish: boolean
  alreadyLiked: boolean
}
//预览博客属性
export interface BlogPreview {
  id: number
  userId: number
  title: string
  img: string
  abstract: string
  like: number
  browse: number
  comment: number
  author: string
  selfPublish: boolean
}
//个人博客信息
export interface PersonalBlogInfo {
  specialty: string
  signature: string
  totalBrowse: number
  totalLike: number
  blogNumber: number
  profile: string
}
//评论
export interface Comment {
  profile: string
  name: string
  comment: string
  time: string
}
//查询博客的参数
export interface BlogParams {
  title?: string
  abstract?: string
  author?: string
  order?: number
  isAsc?: boolean
  page?: number
  pageSize?: number
  includeSelf?: boolean
}
